<template>
  <div class="basic_info">
    <div>
      <div class="info_operation_btn">
        <p>联系我们</p>
      </div>
      <div class="info_content_div">
        <div>
          <div class="div_left">
            <p>象过河软件技术有限公司</p>
            <span>企业网址：www.xiangguohe.cn</span>
            <span>公司地址：河南省郑州市国家大学科技园(东区)13号楼16层</span>
            <span>服务电话：400-600-1168</span>
          </div>
          <div class="div_right">
            <p>
              <img src="@/assets/xgh.png" alt="象过河公众号" />
              <span>象过河公众号</span>
            </p>
            <!-- <p>
              <img src="" alt="用户服务中心" />
              <span>用户服务中心</span>
            </p> -->
            <p>
              <img src="@/assets/xgh.png" alt="象过河商城" />
              <span>象过河商城</span>
            </p>
          </div>
        </div>
        <div>
          <div class="div_left">
            <p style="color: #fd6c21">我有好建议</p>
            <span>非常感谢您对象过河软件的支持与厚爱，</span>
            <span>欢迎您留下使用过程中的宝贵建议，建议一经采纳，</span>
            <span>我们会有惊喜礼品赠送！</span>
          </div>
          <div class="div_right">
            <p>
              <img src="@/assets/xgh.png" alt="扫码提建议" />
              <span>扫码提建议</span>
            </p>
          </div>
        </div>
        <div class="button_div">
          <el-button type="primary" @click="onBack">返回</el-button>
          <el-button style="margin-left: 15px;" @click="onClose">关闭</el-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  name: 'contactUs',
  computed: {
    ...mapGetters(['name']),
  },
  data() {
    return {}
  },
  methods: {
    // 返回
    onBack() {
      this.$router.back(-1)
    },
    // 关闭
    onClose() {
      this.$EventBus.$emit('closePage', '/home/contactUs')
    },
  },
}
</script>

<style lang="scss" scoped>
.basic_info {
  width: 100%;
  height: calc(100vh - 104px);
  background: #f0f2f5;
  box-sizing: border-box;
  padding: 0 10px 10px;
  display: flex;
  flex-direction: column;
  > div {
    height: 100%;
    background: #fff;
    padding: 0 38px;
  }
}
.info_operation_btn {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  > p {
    margin: 0;
    font-size: 16px;
    font-family: PingFang SC;
    font-weight: 600;
    color: #1b94fb;
  }
}
.info_content_div {
  width: 100%;
  height: calc(100% - 50px);
  box-sizing: border-box;
  > div {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 0 38px;
    display: flex;
    border-bottom: 1px solid #eeeeee;
    .div_left {
      display: flex;
      flex-direction: column;
      flex: 0.5;
      > p {
        margin: 0;
        margin-bottom: 8px;
        font-size: 16px;
        font-family: PingFang SC;
        font-weight: 600;
        line-height: 22px;
        color: #333;
      }
      > span {
        font-size: 12px;
        font-family: PingFangSC-Regular;
        line-height: 17px;
        color: #999;
      }
    }
    .div_right {
      display: flex;
      align-items: center;
      flex: 0.6;
      > p {
        margin: 0;
        width: 86px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 104px;
        > img {
          width: 100%;
          height: 86px;
          border: 1px solid #eee;
        }
        > span {
          font-size: 14px;
          font-family: PingFangSC-Regular;
          line-height: 20px;
          color: #666;
          margin-top: 5px;
        }
      }
    }
  }
  .button_div {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: none;
    ::v-deep .el-button {
      width: 60px;
      height: 30px;
      // background: #fff;
      // border: 1px solid #ddd;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}
</style>